package com.uphone.kingmall.bean;

import com.uphone.kingmall.base.BaseBean;

import java.util.List;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/18
 *     desc   :
 * </pre>
 */
public class CircleIndexShopBean extends BaseBean<CircleIndexShopBean.DataBean> {

    /**
     * msg : ok
     * code : 0
     * data : [{"circleType":1,"shops":[{"shopId":1,"shopName":"测试店铺","shopHeadImg":"http://localhost:8082/upload/images/shop/35b5be02b3604bf08836e29c320f6833.jpg","shopDesc":"欢迎购买","shopScore":4.3,"juli":69953}]},{"circleType":2,"shops":[]},{"circleType":3,"shops":[]},{"circleType":4,"shops":[]},{"circleType":5,"shops":[]},{"circleType":6,"shops":[]},{"circleType":7,"shops":[]},{"circleType":8,"shops":[]},{"circleType":9,"shops":[]},{"circleType":10,"shops":[]},{"circleType":11,"shops":[]},{"circleType":12,"shops":[]},{"circleType":13,"shops":[]},{"circleType":14,"shops":[]}]
     */


    public static class DataBean extends BaseBean.DataBean {
        /**
         * circleType : 1
         * shops : [{"shopId":1,"shopName":"测试店铺","shopHeadImg":"http://localhost:8082/upload/images/shop/35b5be02b3604bf08836e29c320f6833.jpg","shopDesc":"欢迎购买","shopScore":4.3,"juli":69953}]
         */

        private int circleType;
        private String circleName; //新增字段，用于替代之前配置的circleType
        private List<ShopsBean> shops;

        public String getCircleName() {
            return circleName;
        }

        public void setCircleName(String circleName) {
            this.circleName = circleName;
        }

        public int getCircleType() {
            return circleType;
        }

        public void setCircleType(int circleType) {
            this.circleType = circleType;
        }

        public List<ShopsBean> getShops() {
            return shops;
        }

        public void setShops(List<ShopsBean> shops) {
            this.shops = shops;
        }

        public static class ShopsBean {
            /**
             * shopId : 1
             * shopName : 测试店铺
             * shopHeadImg : http://localhost:8082/upload/images/shop/35b5be02b3604bf08836e29c320f6833.jpg
             * shopDesc : 欢迎购买
             * shopScore : 4.3
             * juli : 69953
             */

            private int shopId;
            private String shopName;
            private String shopHeadImg;
            private String shopDesc;
            private Float shopScore;
            private Float juli;

            public int getShopId() {
                return shopId;
            }

            public void setShopId(int shopId) {
                this.shopId = shopId;
            }

            public String getShopName() {
                return shopName;
            }

            public void setShopName(String shopName) {
                this.shopName = shopName;
            }

            public String getShopHeadImg() {
                return shopHeadImg;
            }

            public void setShopHeadImg(String shopHeadImg) {
                this.shopHeadImg = shopHeadImg;
            }

            public String getShopDesc() {
                return shopDesc;
            }

            public void setShopDesc(String shopDesc) {
                this.shopDesc = shopDesc;
            }

            public Float getShopScore() {
                return shopScore;
            }

            public void setShopScore(Float shopScore) {
                this.shopScore = shopScore;
            }

            public Float getJuli() {
                return juli;
            }

            public void setJuli(Float juli) {
                this.juli = juli;
            }
        }
    }
}
